import { defineStore } from 'pinia'

const usePDAStore = defineStore('usePDAStore', {
  state: () => {
    return {
      showForm: {}
    }
  },
  actions: {
    setShowForm(flg) {
      return this.showForm = flg
    }
  },
  persist: {
    enabled: true, // 开启数据缓存 +++++++
  }
})

export default usePDAStore